#ifndef _POKEDEX_H_
#define _POKEDEX_H_

#include <QWidget>
#include <map>
#include "ui_Pokedex.h"
#include "Pokemon.h"

class           Pokedex : public QWidget, public Ui_Pokedex
{
  Q_OBJECT
    
    public:
  Pokedex();
  ~Pokedex();
  
 private:
 Pokedex(Pokedex &) : QWidget(NULL) {}
  Pokedex &operator=(Pokedex &);
  std::map<QString, Pokemon> pokelist;
  const QString mapGetName(const QString &id) const;
  QString	aff_pic_evo(int id) const;
  void	aff_pic(int);
  void	eraseAllLabels();
  void	eraseLists();
  
  public slots:
  void fillInformations(QListWidgetItem *item);
  void fillInformations2(QListWidgetItem *item, QListWidgetItem *pvious);
};

#endif /*POKEMON_H*/